import request from '@/utils/request'

export function contrastBaseInfo(data) {
  return request({
    url: '/bf/comparison/contrastBaseInfo',
    method: 'post',
    data: data
  })
}

export function contrastIGF(data) {
  return request({
    url: '/bf/comparison/contrastIGF',
    method: 'post',
    data: data
  })
}

export function teamCoreInfo(data) {
  return request({
    url: '/bf/comparison/teamCoreInfo',
    method: 'post',
    data: data
  })
}

export function manageFundInfo(data) {
  return request({
    url: '/bf/comparison/manageFundInfo',
    method: 'post',
    data: data
  })
}

export function investProjectInfo(data) {
  return request({
    url: '/bf/comparison/investProjectInfo',
    method: 'post',
    data: data
  })
}

export function allMemberInfo(data) {
  return request({
    url: '/bf/comparison/allMemberInfo',
    method: 'post',
    data: data
  })
}

export function historyPerformanceInfo(data) {
  return request({
    url: '/bf/comparison/historyPerformanceInfo',
    method: 'post',
    data: data
  })
}

export function fundListMenu(data) {
  return request({
    url: '/bf/comparison/fundListMenu',
    method: 'post',
    data: data
  })
}

export function fundListInfo(data) {
  return request({
    url: '/bf/comparison/fundListInfo',
    method: 'post',
    data: data
  })
}

export function findFundInvestor(data) {
  return request({
    url: '/bf/comparison/findFundInvestor',
    method: 'post',
    data: data
  })
}

export function findFundValuation(data) {
  return request({
    url: '/bf/comparison/findFundValuation',
    method: 'post',
    data: data
  })
}

export function findFundReveal(data) {
  return request({
    url: '/bf/comparison/findFundReveal',
    method: 'post',
    data: data
  })
}

export function dealListToDealInfo(data) {
  return request({
    url: '/bf/comparison/dealListToDealInfo',
    method: 'post',
    data: data
  })
}

export function dealListToFundInfo(data) {
  return request({
    url: '/bf/comparison/dealListToFundInfo',
    method: 'post',
    data: data
  })
}

export function onlinePreviewGpFile(name, gpFileId, gpId) {
  return request({
    url: '/bf/comparison/onlinePreviewGpFile/' + name + '/' + gpFileId + '/' + gpId,
    method: 'get'
  })
}
